package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单表 zh_order
 * 
 * @author ruoyi
 * @date 2019-06-16
 */
public class ZhOrder extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 唯一标识 */
	private String uuid;
	/** 商品id */
	private Integer goodId;
	/** 购买者用户名 */
	private String buyerUsername;
	/** 出售者用户名 */
	private String salerUsername;
	/** 订单状态 */
	private Integer orderStatus;
	/** 购买者游戏角色名 */
	private String buyerGameRoleName;
	/** 游戏区域id */
	private String gameAreaId;
	/** 游戏id */
	private Integer gameId;
	/** 支付时间 */
	private Date payTime;
	/** 发货时间 */
	private Date deliveryTime;
	/** 下单时商品名称 */
	private String goodName;
	/** 商品数量 */
	private Integer goodCount;
	/** 下单时单个商品价格 */
	private BigDecimal goodSinglePrice;
	/** 下单时商品总价 */
	private BigDecimal goodAmountTotal;
	/** 实际付款金额 */
	private BigDecimal orderRealPayAmount;
	/** 支付方式 0:支付宝 */
	private Integer payType;
	/** 商家订单号(这里就是我方) */
	private String outTradeNo;
	/** 站点id */
	private Integer deptId;
	/** 创建时间 */
	private Date gmtCreate;
	/** 更新时间 */
	private Date gmtModified;
	/** 备注 */
	private String remark;
	/** 购买者游戏角色区服名 */
	private String buyerGameRoleAreaName;
	/** 支付状态 未支付0，已支付1，金额异常-1 */
	private Integer payStatus;
	/** 支付方流水号 */
	private String tradeNo;

	// 额外属性
	/**
	 * 站点名称
	 */
	private String deptName;


	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUuid(String uuid) 
	{
		this.uuid = uuid;
	}

	public String getUuid() 
	{
		return uuid;
	}
	public void setGoodId(Integer goodId) 
	{
		this.goodId = goodId;
	}

	public Integer getGoodId() 
	{
		return goodId;
	}
	public void setBuyerUsername(String buyerUsername) 
	{
		this.buyerUsername = buyerUsername;
	}

	public String getBuyerUsername() 
	{
		return buyerUsername;
	}
	public void setSalerUsername(String salerUsername) 
	{
		this.salerUsername = salerUsername;
	}

	public String getSalerUsername() 
	{
		return salerUsername;
	}
	public void setOrderStatus(Integer orderStatus) 
	{
		this.orderStatus = orderStatus;
	}

	public Integer getOrderStatus() 
	{
		return orderStatus;
	}
	public void setBuyerGameRoleName(String buyerGameRoleName) 
	{
		this.buyerGameRoleName = buyerGameRoleName;
	}

	public String getBuyerGameRoleName() 
	{
		return buyerGameRoleName;
	}
	public void setGameAreaId(String gameAreaId) 
	{
		this.gameAreaId = gameAreaId;
	}

	public String getGameAreaId() 
	{
		return gameAreaId;
	}
	public void setGameId(Integer gameId) 
	{
		this.gameId = gameId;
	}

	public Integer getGameId() 
	{
		return gameId;
	}
	public void setPayTime(Date payTime) 
	{
		this.payTime = payTime;
	}

	public Date getPayTime() 
	{
		return payTime;
	}
	public void setDeliveryTime(Date deliveryTime) 
	{
		this.deliveryTime = deliveryTime;
	}

	public Date getDeliveryTime() 
	{
		return deliveryTime;
	}
	public void setGoodName(String goodName) 
	{
		this.goodName = goodName;
	}

	public String getGoodName() 
	{
		return goodName;
	}
	public void setGoodCount(Integer goodCount) 
	{
		this.goodCount = goodCount;
	}

	public Integer getGoodCount() 
	{
		return goodCount;
	}
	public void setGoodSinglePrice(BigDecimal goodSinglePrice) 
	{
		this.goodSinglePrice = goodSinglePrice;
	}

	public BigDecimal getGoodSinglePrice() 
	{
		return goodSinglePrice;
	}
	public void setGoodAmountTotal(BigDecimal goodAmountTotal) 
	{
		this.goodAmountTotal = goodAmountTotal;
	}

	public BigDecimal getGoodAmountTotal() 
	{
		return goodAmountTotal;
	}
	public void setOrderRealPayAmount(BigDecimal orderRealPayAmount) 
	{
		this.orderRealPayAmount = orderRealPayAmount;
	}

	public BigDecimal getOrderRealPayAmount() 
	{
		return orderRealPayAmount;
	}
	public void setPayType(Integer payType) 
	{
		this.payType = payType;
	}

	public Integer getPayType() 
	{
		return payType;
	}
	public void setOutTradeNo(String outTradeNo) 
	{
		this.outTradeNo = outTradeNo;
	}

	public String getOutTradeNo() 
	{
		return outTradeNo;
	}
	public void setDeptId(Integer deptId) 
	{
		this.deptId = deptId;
	}

	public Integer getDeptId() 
	{
		return deptId;
	}
	public void setGmtCreate(Date gmtCreate) 
	{
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtCreate() 
	{
		return gmtCreate;
	}
	public void setGmtModified(Date gmtModified) 
	{
		this.gmtModified = gmtModified;
	}

	public Date getGmtModified() 
	{
		return gmtModified;
	}

	public void setBuyerGameRoleAreaName(String buyerGameRoleAreaName) 
	{
		this.buyerGameRoleAreaName = buyerGameRoleAreaName;
	}

	public String getBuyerGameRoleAreaName() 
	{
		return buyerGameRoleAreaName;
	}
	public void setPayStatus(Integer payStatus) 
	{
		this.payStatus = payStatus;
	}

	public Integer getPayStatus() 
	{
		return payStatus;
	}
	public void setTradeNo(String tradeNo) 
	{
		this.tradeNo = tradeNo;
	}

	public String getTradeNo() 
	{
		return tradeNo;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
}
